package com.example.mobile2021606177cke0429;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.util.Log;
import android.widget.TextView;

public class MainActivity extends AppCompatActivity {
    TextView tvMainTitle;
    static  String TAG="lifeCycle";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        Log.i(TAG,"onCreate:Running");
    }

    @Override
    protected void onStart() {
        super.onStart();
        Log.i(TAG,"onStar:Running");
    }

    @Override
    protected void onPostResume() {
        super.onPostResume();
        Log.i(TAG,"onResume:Running");
    }

    @Override
    protected void onPause() {
        super.onPause();
        Log.i(TAG,"onPause:Running");
    }

    @Override
    protected void onStop() {
        super.onStop();
        Log.i(TAG,"onStop:Running");
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        Log.i(TAG,"onDestroy:Running");
    }

    @Override
    protected void onRestart() {
        super.onRestart();
        Log.i(TAG,"onRestart:Running");
    }
}